package org.xin.security.common;

/**
 * @author ：xin
 * @date ：Created in 2021/10/2
 * @desc <p>  </p>
 * @modified By：$
 * @version: $
 */
public interface UserConstants {
    
    String DEFAULT_ROLE_CODE = "default_role_code";

    /** 校验返回结果码 */
    String UNIQUE = "0";
    String NOT_UNIQUE = "1";
    /**
     * 用户名长度限制
     */
    int USERNAME_MIN_LENGTH = 2;
    int USERNAME_MAX_LENGTH = 16;

    /**
     * 密码长度限制
     */
    int PASSWORD_MIN_LENGTH = 5;
    int PASSWORD_MAX_LENGTH = 16;
}
